<template>
  <div>
    <checked-title title="数据统计"></checked-title>
    <div class="shujutongji">
      <div class="headLicheng">
        <div>
          <p>区域面积（k㎡）</p>
          <p>{{ result.regionArea || '0' }}</p>
        </div>
        <div>
          <p>社区网格（个）</p>
          <p>{{ result.dataCount || '0' }}</p>
        </div>
        <div>
          <p>部件总数（个）</p>
          <p>{{ result.assemblyNum || '0' }}</p>
        </div>
      </div>
      <div class="navList">
        <div>
          <div class="content">
            <div>
              <img src="@/assets/images/yingpanshidian/left1.png" alt="" />
            </div>
            <div>
              <p>社区(村)总数</p>
            </div>
            <div>
              <p><span>{{ result.communityCount || '0' }}</span><span>个</span></p>
            </div>
            <div>
              <img src="@/assets/images/yingpanshidian/right1.png" alt="" />
            </div>
          </div>
          <div class="content">
            <div>
              <img src="@/assets/images/yingpanshidian/left4.png" alt="" />
            </div>
            <div>
              <p>处置员数量</p>
            </div>
            <div>
              <p><span>{{ result.userNum || '0' }}</span><span>个</span></p>
            </div>
            <div>
              <img src="@/assets/images/yingpanshidian/right4.png" alt="" />
            </div>
          </div>
          <div class="content">
            <div>
              <img src="@/assets/images/yingpanshidian/left2.png" alt="" />
            </div>
            <div>
              <p>门头报审总数</p>
            </div>
            <div>
              <p><span>{{ result.storeNum || '0' }}</span><span>个</span></p>
            </div>
            <div>
              <img src="@/assets/images/yingpanshidian/right2.png" alt="" />
            </div>
          </div>
          <div class="content">
            <div>
              <img src="@/assets/images/yingpanshidian/left5.png" alt="" />
            </div>
            <div>
              <p>监控视频点位</p>
            </div>
            <div>
              <p><span>{{ result.monitoringNum || '0' }}</span><span>个</span></p>
            </div>
            <div>
              <img src="@/assets/images/yingpanshidian/right5.png" alt="" />
            </div>
          </div>
          <div class="content">
            <div>
              <img src="@/assets/images/yingpanshidian/zise.png" alt="" />
            </div>
            <div>
              <p>扬尘颗粒收集</p>
            </div>
            <div>
              <p><span>{{ result.dustNum || '0' }}</span><span>个</span></p>
            </div>
            <div>
              <img src="@/assets/images/yingpanshidian/zise2.png" alt="" />
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    result: {
      type: Object,
      default: () => { }
    },
  },
  data() {
    return {

    };
  },
  mounted() {

  },
  methods: {

  }
}
</script>
<style lang="less" scoped>
.shujutongji {
  width: 100%;

  .headLicheng {
    display: flex;
    justify-content: space-around;

    div {
      width: 146px;
      height: 97px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-around;

      &:nth-child(1) {
        background: url('../../../assets/images/yingpanshidian/zongxuncha.png') no-repeat;
        background-size: 100%;

        p {
          &:nth-child(1) {
            font-size: 16px;
            font-family: Noto Sans S Chinese;
            font-weight: 500;
            color: #131e25;
            line-height: 24px;
          }

          &:nth-child(2) {
            font-size: 24px;
            font-family: DIN;
            font-weight: 400;
            color: #28e3f2;
            line-height: 24px;
          }
        }
      }

      &:nth-child(2) {
        background: url("../../../assets/images/yingpanshidian/xunchazonglicheng'.png") no-repeat;
        background-size: 100%;

        p {
          &:nth-child(1) {
            font-size: 16px;
            font-family: Noto Sans S Chinese;
            font-weight: 500;
            color: #131e25;
            line-height: 24px;
          }

          &:nth-child(2) {
            font-size: 24px;
            font-family: DIN;
            font-weight: 400;
            color: #63e900;
            line-height: 24px;
          }
        }
      }

      &:nth-child(3) {
        background: url('../../../assets/images/yingpanshidian/xunchazongshichang.png') no-repeat;
        background-size: 100%;

        p {
          &:nth-child(1) {
            font-size: 16px;
            font-family: Noto Sans S Chinese;
            font-weight: 500;
            color: #131e25;
            line-height: 24px;
          }

          &:nth-child(2) {
            font-size: 24px;
            font-family: DIN;
            font-weight: 400;
            color: #28a4ff;
            line-height: 24px;
          }
        }
      }
    }
  }

  .navList {
    width: 100%;

    div {
      color: #fff;

      .content {
        margin: 10px auto;
        width: 460px;
        height: 44px;
        text-align: left;
        background: linear-gradient(90deg,
            rgba(40, 164, 255, 0) 0%,
            rgba(40, 164, 255, 0.3) 99%);
        // opacity: 0.5;
        display: flex;
        align-items: center;
        // justify-content: space-between;
        justify-content: flex-start;
        z-index: 9999;

        div {
          &:nth-child(1) {
            width: 30px;
            margin-right: 60px;
            img {
              width: 30px;
              height: 10px;
            }
          }

          &:nth-child(2) {
            width: 110px;
            margin-right: 30px;
            p {
              text-align: left;
              font-size: 16px;
              font-family: Noto Sans S Chinese;
              font-weight: 500;
              color: #fff;
            }
          }

          &:nth-child(3) {
            flex: 1;
            margin-right: 30px;
            p {
              display: flex;
              justify-content: flex-end;
              align-items: center;

              span {
                &:nth-child(1) {
                  text-align: right;
                  font-size: 28px;
                  font-family: DIN;
                }

                &:nth-child(2) {
                  text-align: right;
                  font-size: 14px;
                  font-family: Noto Sans S Chinese;
                  margin-left: 20px;
                }
              }

              font-weight: 400;
              color: #28E3F2;
            }
          }

          &:last-child {
            width: 49px;
            display: flex;
            justify-content: flex-end;
            margin-right: 15px;
            img {
              width: 49px;
              height: 8px;
            }
          }
        }
      }
    }
  }
}
</style>
